count (one's) lucky stars

Переводы
быть благодарным за удачу
After narrowly avoiding the accident, she counted her lucky stars.
После того как она едва избежала аварии, она была благодарна за удачу.
Определения
To be very grateful or thankful for good fortune or a favorable outcome, often in situations where things could have gone badly.